home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CSCROLLL / CCHECKLI.H < prev    next >
Text File  |  1992-02-19  |  873b  |  39 lines

  1. /*************************************************************************************
  2.  
  3.  CCheckList.h
  4.     
  5.     SUPERCLASS = CScrollList
  6.     
  7.         by Dave Harkness
  8.  
  9. *************************************************************************************/
  10.  
  11.  
  12. #define _H_CCheckList
  13.  
  14. #include "CScrollList.h"
  15.  
  16.  
  17. #define kCheckWidth        9        // Room for the check mark
  18.  
  19.  
  20. class CCheckList : public CScrollList
  21. {
  22. public:
  23.     void                ICheckList( CView *anEnclosure, CBureaucrat *aSupervisor,
  24.                             short aWidth, short aHeight,
  25.                             short aHEncl, short aVEncl,
  26.                             SizingOption aHSizing, SizingOption aVSizing);
  27.     
  28.     virtual void        DoClick( Point hitPt, short modifierKeys, long when);
  29.  
  30.     virtual void        AdjustCursor( Point where, RgnHandle mouseRgn );
  31.     
  32.     virtual Boolean        IsChecked( Cell theCell );
  33.     
  34.     virtual void        CheckCell( Cell theCell );
  35.  
  36.     virtual void        DrawCell( Cell theCell, Rect *cellRect );
  37.  
  38. };
  39.